package zsy.springframework.beans.factory.jiekou;

import zsy.springframework.beans.factory.BeansException;
import zsy.springframework.beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;

//策略设计模式
public interface InstantiationStrategy {
    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor constructor, Object[] args) throws BeansException;
}
